< previous page page_751 next page >

Page 751
(table continued from previous page)
ControlPropertySetting
VB.TextBoxNamesqlField
Height300
Index0
Left1320
Top360
Width1200
VB.CommandButtonNamecmdAction
Caption"&Delete"
Height300
Index1
Left3900
Top420
Width900
VB.LabelNameLabel2
Caption"EMail:"
Height300
Left60
Top780
Width1200
VB.LabelNameLabel1
Caption"Name:"
Height300
Left60
Top420
Width1200

Save this form as FRMSQLTEST.FRM and the project as PRJSQLTEST.VBP. Now you're ready to add the code to the form.
Coding the ODBC Data-Entry Form
You need to add code in just a few places on the form. First, you need to add two form-level variables, as shown in Listing 19.23. These variables are used throughout the form.

 
< previous page page_751 next page >

If you like this book, buy it!